package org.xfy.pet.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.xfy.base.domain.BaseDomain;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 实体类：
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SearchMasterMsg extends BaseDomain{
    @NotEmpty(message = "标题不能为空")
    private String title;
    /**
     * 0 待审核 1 审核通过 -1 驳回
     */
    private Integer state;
    /**
     * 宠物名称
     */
    private String name;
    private Integer age;
    private Integer gender;
    /**
     * 毛色
     */
    @NotEmpty(message = "标题不能为空")
    private String coatColor;
    /**
     * fastdfs地址1,fastdfs地址1
     */
    private String resources;
    /**
     * 类型
     */
    @NotNull(message = "请选择类型")
    private Long petType;
    private BigDecimal price;
    @NotEmpty(message = "请填写地址")
    private String address;
    @NotNull(message = "请登录")
    private Long userId;
    /**
     * 店铺id 消息分配的店铺
     */
    private Long shopId;
    private String note;


}
